<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:ui="http://java.sun.com/jsf/facelets"
      xmlns:h="http://java.sun.com/jsf/html"
      xmlns:f="http://java.sun.com/jsf/core">

    <ui:composition template="/template.xhtml">
        <ui:define name="title">
            <h:outputText value="#{bundle.CreateRawMaterialsLocationEntityTitle}"></h:outputText>
        </ui:define>
        <ui:define name="body">
            <h:panelGroup id="messagePanel" layout="block">
                <h:messages errorStyle="color: red" infoStyle="color: green" layout="table"/>
            </h:panelGroup>
            <h:form>
                <h:panelGrid columns="2">
                    <h:outputLabel value="#{bundle.CreateRawMaterialsLocationEntityLabel_capacityKg}" for="capacityKg" />
                    <h:inputText id="capacityKg" value="#{rawMaterialsLocationEntityController.selected.capacityKg}" title="#{bundle.CreateRawMaterialsLocationEntityTitle_capacityKg}" />
                    <h:outputLabel value="#{bundle.CreateRawMaterialsLocationEntityLabel_usageKg}" for="usageKg" />
                    <h:inputText id="usageKg" value="#{rawMaterialsLocationEntityController.selected.usageKg}" title="#{bundle.CreateRawMaterialsLocationEntityTitle_usageKg}" />
                    <h:outputLabel value="#{bundle.CreateRawMaterialsLocationEntityLabel_areaCode}" for="areaCode" />
                    <h:inputText id="areaCode" value="#{rawMaterialsLocationEntityController.selected.areaCode}" title="#{bundle.CreateRawMaterialsLocationEntityTitle_areaCode}" />
                    <h:outputLabel value="#{bundle.CreateRawMaterialsLocationEntityLabel_id}" for="id" />
                    <h:inputText id="id" value="#{rawMaterialsLocationEntityController.selected.id}" title="#{bundle.CreateRawMaterialsLocationEntityTitle_id}" />
                    <h:outputLabel value="#{bundle.CreateRawMaterialsLocationEntityLabel_createdAt}" for="createdAt" />
                    <h:inputText id="createdAt" value="#{rawMaterialsLocationEntityController.selected.createdAt}" title="#{bundle.CreateRawMaterialsLocationEntityTitle_createdAt}" >
                        <f:convertDateTime pattern="MM/dd/yyyy" />
                    </h:inputText>
                    <h:outputLabel value="#{bundle.CreateRawMaterialsLocationEntityLabel_createdBy}" for="createdBy" />
                    <h:inputText id="createdBy" value="#{rawMaterialsLocationEntityController.selected.createdBy}" title="#{bundle.CreateRawMaterialsLocationEntityTitle_createdBy}" />
                    <h:outputLabel value="#{bundle.CreateRawMaterialsLocationEntityLabel_lastModifiedAt}" for="lastModifiedAt" />
                    <h:inputText id="lastModifiedAt" value="#{rawMaterialsLocationEntityController.selected.lastModifiedAt}" title="#{bundle.CreateRawMaterialsLocationEntityTitle_lastModifiedAt}" >
                        <f:convertDateTime pattern="MM/dd/yyyy" />
                    </h:inputText>
                    <h:outputLabel value="#{bundle.CreateRawMaterialsLocationEntityLabel_lastModifiedBy}" for="lastModifiedBy" />
                    <h:inputText id="lastModifiedBy" value="#{rawMaterialsLocationEntityController.selected.lastModifiedBy}" title="#{bundle.CreateRawMaterialsLocationEntityTitle_lastModifiedBy}" />
                </h:panelGrid>
                <br />
                <h:commandLink action="#{rawMaterialsLocationEntityController.create}" value="#{bundle.CreateRawMaterialsLocationEntitySaveLink}" />
                <br />
                <br />
                <h:commandLink action="#{rawMaterialsLocationEntityController.prepareList}" value="#{bundle.CreateRawMaterialsLocationEntityShowAllLink}" immediate="true"/>
                <br />
                <br />
                <h:commandLink value="#{bundle.CreateRawMaterialsLocationEntityIndexLink}" action="/index" immediate="true" />
            </h:form>
        </ui:define>
    </ui:composition>

</html>
